package com.liqi.monitor.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author huaihuai
 */
@Data
public class GetScreenshotReq {
    @ApiModelProperty(value = "设备id",required = true)
    @NotBlank(message = "设备id不能为空")
    private String deviceId;

    @ApiModelProperty(value = "屏幕标志，0=双屏，1=主屏，2=辅屏",required = true)
    @NotNull(message = "屏幕标志不能为空")
    private Integer screenFlag;

    @ApiModelProperty(value = "消息编码，后台生成的一个流水号",required = false,hidden = true)
    private String messageCode;

    @ApiModelProperty(value = "1开机、2关机、3重启、4截图、5远程拉取日志、6远程自检、7下发更新计划",required = false,hidden = true)
    private Integer commandType;
}
